package com.cskaoyan.bean.cart.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
public class CheckCartItemBo {

    /**
     * productIds : [7]
     * isChecked : 1
     */

    private Boolean isChecked;
    private List<Integer> productIds;

    public Boolean getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(Integer checked) {
        if (checked == 0) {
            isChecked = false;
        }
        if (checked == 1) {
            isChecked = true;
        }
    }

    public List<Integer> getProductIds() {
        return productIds;
    }

    public void setProductIds(List<Integer> productIds) {
        this.productIds = productIds;
    }

}
